PREP
DOOR
Explore
Mock Test
All India Test
Test Package
Topic-wise Test
Android App
X Close
Home
Profile
Explore
PrepDoor
New
My Assets
Crypt Hunt
Word List
Login |
Register
Select an option to search:
GPL Search
Google Custom Search
PSU Papers
Company Papers
Companies Fact
Online Test
Prep Tool
MBA Question
Gate Question
IES Question
Exam Papers:
TCS
Infosys
Wipro
IBM
Accenture
Patni
CTS
Sapient
Aricent
HCL
Syntel
3i Infotech
L&T Infotech
Capgemini
ITC Infotech
You need to enable javascript to view this page properly.
Branch
Computer Science And Engineering
Electrical Engineering
Electronics and Communication Engineering
Mechanical Engineering
All
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
Loading
85.
A single array A[1..MAXSIZE] is used to implement two stacks. The two stacks grow from opposite ends of the array. Variables top1 and top 2 (top1< top 2) point to the location of the topmost element in each of the stacks. If the space is to be used efficiently, the condition for “stack full” is [1 mark]
(a) (top1 = MAXSIZE/2) and (top2 = MAXSIZE/2+1)
(b) top1 + top2 = MAXSIZE
(c) (top1 = MAXSIZE/2) or (top2 = MAXSIZE)
(d) top1 = top2 -1
asked in
Computer Science And Engineering, 2004
View Comments [0 Reply]
86.
Consider the following C function
void swap (int a, int b)
{ int temp;
temp = a ;
a = b ;
b = temp ;
}
In order to exchange the values of two variables x and y. [1 mark]
(a) call swap (x, y)
(b) call swap (&x, &y)
(c) swap (x,y) cannot be used as it does not return any value
(d) swap (x,y) cannot be used as the parameters are passed by value
asked in
Computer Science And Engineering, 2004
View Comments [0 Reply]
87.
The goal of structured programming is to [1 marks]
(a) have well indented programs
(b) be able to infer the flow of control from the compiled code
(c) be able to infer the flow of control form the program text
(d) avoid the use of GOTO statements
asked in
Computer Science And Engineering, 2004
View Comments [0 Reply]
87
1 ...
‹‹
13
14
15
High Frequency Word List with Mnemonics
GPL Dictionary is fast way to learn words with mnemonics.
It contains high frequency word list which are mostly asked in various examinations.
It is dedicated for student appearing for PSUs, GRE, UPSC or any other exams in which vocabulary test is taken.
User can save their own mnemonics (key and link).
Check Now